function foo(arr){for(var L_Error_Text="now is the time",ndx=0;ndx<arr.length;++ndx)!arr[ndx]&&L_Error_Text&&bar(function(){alert(L_Error_Text)})}